package com.lanmaoly.cunzheng.callback;

public class HttpCallBackTest {
	
	public static void main(String[] args) {
		HttpCallBackTest test = new HttpCallBackTest();
		test.onCreate();
	}
	
	private void onCreate(){
		HttpUtil.requestData("https://time.geekbang.org/course/detail/84-6934", new HttpCallBackListener() {
			
			@Override
			public void onFinish(String respose) {
				// TODO �첽������
				System.out.println("�첽������------------>����");
			}
			
			@Override
			public void onError(Exception e) {
				// TODO �첽�쳣����
				System.out.println("�첽�쳣����------------>����");
			}
		});
	}

}
